#include <iostream>
using namespace std;

class animal
{
private:
    string species;
    int age;
public:
    animal(string species,int age)
    :species(species),age(age)
    {
    }
    ~animal(){}
    void run()
    {
        cout<<" is running!"<<endl;
    }
    void eat()
    {
        cout<<" is eating!"<<endl;
    }
};

class bird:public animal
{
private:
    string wings;
public:
    bird(string wings,string species,int age)
    :wings(wings),animal(species,age)
    {}
    ~bird(){}
    void fly()
    {
        cout<<" is eating!"<<endl;
    }
};

int main(int argc,char*argv[])
{
    bird a("a","bird",4);
    a.eat();
    a.run();
    a.fly();

    return 0;
}